

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;
import com.newline.R;

public class Splash extends Activity {
	ImageView splashView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		splashView = (ImageView) findViewById(R.id.ivSplash);
		setContentView(R.layout.splash);
		// sleep 6 second

		Thread timer = new Thread() {
			public void run() {
				try {
					sleep(3600);// 6 second
				} catch (InterruptedException e) {
					e.printStackTrace();
				} finally {
					// make intent to open another activity
				}
			}
		};
		timer.start();
	}
}
